package com.wanmait.CarTrading.DAO;

import com.wanmait.CarTrading.Util.Pager;
import com.wanmait.CarTrading.vo.Car;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository("carDAO")
public interface CarDAO extends CommonDAO<Car> {
    List<Car>findByCarTypeId(int carTypeId);
    int getDateCount(Integer carTypeId, String title);
    List<Car> findAll(Integer carTypeId, String title, Pager pager);
}
